package com.ihr360.insurance.model.dto.staff.embeddable.snapshot;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * 部门快照嘻嘻
 */
@Embeddable
public class DepartmentSnapshot {
    /**
     * 部门Id
     */
    @Column(nullable = false)
    private Long departmentId;
    /**
     * 部门名称
     */
    @Column(length = 128)
    private String departmentName;

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

}